<template>
  <div class="dashboard-container home">
    <h1 style="margin:0 auto; font-size:60px">{{nowTime | parseTime('{h}:{i}:{s}')}}</h1>
    <!-- <h2 style="margin:0 auto; font-size: 42px">欢迎使用<span style="font-size: 42px">阿开迪共享电器</span>管理系统</h2> -->
  </div>
</template>

<style rel="stylesheet/scss" lang="scss" scoped>
.home {
  height: 70vh;
  text-align: center;
  padding-top: 30vh;
}
</style>
<script>
export default {
  data() {
    return {
      nowTime: Date.now()
    };
  },
  created() {
    setInterval(() => {
      this.nowTime = Date.now();
    }, 1000);
  },
  computed: {
    isColse() {
      return typeof this.closeit === "function";
    }
  },
  methods: {
    getList() {
      this.listLoading = true;
    }
  }
};
</script>